package edu.sctu.practice.class02.hujie.cgs.practice02.test18;

/**
 * Created by hj on 2015/10/26.
 */
public class Auto {
    public int tyre = 4;
    public String color = "红色";
    public double weight = 1.2;
    public int speed = 60;

    public void upspeed() {
        System.out.println("他能加速");
    }

    public void downspeed() {
        System.out.println("他能减速");
    }

    public void stop() {
        System.out.println("他能停车");
    }
}
